import type { DependencyItem } from '@/App'

export const antd5ProComponents: DependencyItem = {
  libraryName: 'pro-components',
  libraryGlobalImport: 'ProComponents',
  libraryUrl:
        'https://unpkg.com/@ant-design/pro-components@2.3.52/dist/components.min.js',
  libraryVersion: '2.3.52',
  moduleConfig: [
    {
      moduleName: 'ProCard',
      hasSlot: true,
      defaultProps: {
        title: '默认尺寸',
        tooltip: '这是提示',
      },
      formPropsConfig: {
        title: {
          type: 'string',
          title: '标题',
        },
        tooltip: {
          type: 'string',
          title: '提示',
        },
      },
    },
  ],
}
